Installing the ADO Client on Windows

The ADO Client installer on Windows requires the Microsoft Windows Installer service. If the ADO Client installer detects that the service is not installed on your machine, or that an older version is installed, a message is displayed. After installing the Microsoft Windows Installer service, you might need to restart your machine. Then you can install the ADO Client.

The ADO Client installer also checks for Microsoft Data Access Components (MDAC). If the installer detects that MDAC 2.7 Service Pack 1 or higher is not installed, an error message is generated.

You must install MDAC. MDAC 2.7 Service Pack 1 is shipped with SequeLink and can be found in the sqlnk60\mdac32 subdirectory on the DataDirect DVD.

To start the ADO Client installer:

Installing the ADO Client

  1. Start the SequeLink for ADO installer. When the Welcome window appears, click Next to continue. The License Agreement window appears.
  2. On the License Agreement window, perform one of the following actions:
    • Accept the agreement by clicking the appropriate option. Then, click Next. The Custom Setup window appears.
    • Do not accept the agreement by clicking Cancel to exit the installation.
  3. The Custom Setup window allows you choose specific installation options.

  4. Custom Setup window, with the SequeLink for ADO and DataDirect Configuration Manager icons selected.

    1. Click one or multiple component icons to select the components to install. When you select a component, a description of the component appears in the Feature Description box.
    2. To change the installation directory, click Change. A window appears allowing you to browse and select an installation directory.
    3. When you are satisfied with your settings, click Next.

  5. The Ready to Install the Program window allows you to go back and review your choices before proceeding. If you are ready to install, click Install.
  6. The InstallShield Wizard Completed window appears when the installation has been completed successfully. Click Finish.
  7. For instructions on testing your SequeLink installation, refer to the SequeLink Administrator's Guide.

NOTE: If you want to use the SequeLink Client with Microsoft DTC, you must reboot your machine.

NOTE: If you will be connecting to the SequeLink Server for ODBC Socket with an ADO Client, you must configure the DataSourceProviderTypesFile and DataSourceProviderTypesSection service attributes. Refer to the SequeLink Administrator's Guide.

Silent Installations

When the Microsoft Windows Installer service is installed, the MSIEXEC.EXE file resides in the system directory of your workstation to make silent installations possible for the initial installation of the ADO Client. Silent installations are useful for system administrators who want to create a batch file to execute the initial installation of multiple identical ADO Clients.

To install the ADO Client silently:

Using a command line, change to the directory where the setup.exe file is located. For example, to install from the DVD on a 32-bit machine, change to the sqlnk60\client\win32\ado subdirectory on the DVD. Using a command line, type the following command:

setup /s /v"/qn" 

Then, press ENTER. The installation will proceed, using defaults, without requiring any further interaction. The /s switch specifies a silent installation. Other switches and properties can also be used to customize the installation; see the Microsoft Windows Installer SDK documentation.

NOTE: Users who want to use the SequeLink Client with Microsoft Distributed Transaction Coordinator (MS DTC) must reboot after installation.

To uninstall the ADO Client silently:

Using a command line, change to the directory where the SETUP.EXE file is located. For example, if you installed the ADO Client on a 32-bit machine from the product DVD, change to the sqlnk60\client\win32\ado subdirectory on the DVD. Type the following command:

setup /s /x 

Then, press ENTER. The ADO Client is removed without requiring any further interaction.

Quick Install Images

When the Microsoft Windows Installer service is installed, the MSIEXEC.EXE file resides in the system directory of your workstation to make Quick Install images possible for the initial installation of the ADO Client.

A Quick Install image is a predefined, customized installation image that you can use for the initial installation of the same ADO Client configuration, including data source definitions, on multiple workstations. It helps ensure that all SequeLink Clients in your organization or workgroup are installed and configured in the same way. Minimal user interaction is required to install the Quick Install image.

NOTE: Users who want to use the SequeLink Client with Microsoft Distributed Transaction Coordinator (MS DTC) must reboot after installation.

You can configure a Quick Install image with the following options:

Creating a Quick Install Image

  1. Using a command line, change to the directory where the setup.exe file is located. For example, to install from the DVD on a 32-bit machine, change to the sqlnk60\client\win32\ado subdirectory on the DVD.
  2. Using a command line, type the following command:
  3. setup /a

    Then, press ENTER.

  4. The Welcome window appears. Click Next to continue.
  5. The next window prompts you to choose a Network or a Workstation Quick Install image.
  6. Select the type of Quick Install image to create:

    • For a Network Quick Install image, select the Create a Network Quick Install image option and click Next. Skip to Step 6.
    • For a Workstation Quick Install image, select the Create a Workstation Quick Install image option and click Next. Continue with Step 5.
  7. If you are creating a Workstation Quick Install image, the Destination Folder window allows you to specify a folder on the workstation where the ADO Client will be installed. The default destination folder is C:\Program Files\DataDirect\slado60.
  8. When you are satisfied with your settings, click Next.

    Click Change to choose another folder. When you are satisfied with your choice, click Next to continue. Continue with the next step.

  9. The Custom Setup window allows you choose specific installation options. Click one or multiple component icons to select the components to install. When you select a component, a description of the component appears in the Feature Description box. To install a component, click the drop-down arrow in the icon and select This feature, and all subfeatures, will be installed on your local hard drive. The red X disappears from the icon.

  10. The SequeLink Client for ADO Custom Setup window

  11. The Create Default Data Sources window allows you to choose whether to create default data sources.
  12. If you choose to create default data sources, the OSF File Location window is displayed. Click Browse to specify the path to the appropriate data source file. Then, click Next.
  13. NOTE: Quick Install images only support data source files that specify import in Merge or Overwrite mode.

  14. In the Network Location window, type the directory where the Quick Install image will be saved in the Network location field, or click Change to navigate to a directory. When you are satisfied with your choice, click Install.
  15. The InstallShield Wizard Completed window appears when the installation has been completed successfully. Click Finish.

Running a Quick Install Image

To run a Quick Install image, the Microsoft Windows Installer must be available on each workstation. The image can also be installed silently. See "Silent Installations" for more information about silent installations.

To perform a Quick Install:

  1. Use one of the following methods to run the Quick Install image from your workstation:
    • Use Windows Explorer to navigate to the network directory containing the Quick Install image. Double-click DataDirect SequeLink 6.0 Client for ADO.msi.
    • Verify that the Windows installer MSIEXEC.EXE file is on your path and, using a command line, type the following command:
    • msiexec /i "network_location\DataDirect SequeLink 6.0 Client for ADO.msi"

      where network_location is the location of the Quick Install Image file; then, press ENTER.

  2. The Welcome window appears. Click Next to continue.
  3. The Ready to Install the Program window appears. If you are ready to install, click Install.
  4. The InstallShield Wizard Completed window appears when the installation has been completed successfully. Click Finish.
  5. For instructions on testing your SequeLink installation, refer to the SequeLink Administrator's Guide.

Completing the ODBC Socket and JDBC Socket Installation for the ADO Client

NOTE: This procedure applies to both SequeLink Server for JDBC Socket and SequeLink Server for ODBC Socket.

  1. From the SequeLink Manager Snap-in, select SequeLink 6.0 Manager. For detailed instructions on starting the MMC and working with the SequeLink Manager Snap-in, refer to the SequeLink Administrator's Guide.
  2. Select the SequeLink Agent.
  3. Select SequeLink Services.
  4. Select SLSocket60.
  5. Select Configuration.
  6. Select Data Source Settings.
  7. Select Default.
  8. Select Advanced. The service attributes are displayed.

  9. SequeLink Manager Snap-in, showing the service attributes of the SequeLink Server for ODBC Socket.

  10. Right-click the DataSourceProviderTypesFile service attribute, and select Properties. The Properties window appears.
  11. In the Value field, type \installdir\bin\swsoc.ini, where installdir is the SequeLink installation directory.
  12. Click OK. The attribute is changed.
  13. Right-click the DataSourceProviderTypesSection service attribute, and select Properties. The Properties window appears.
  14. In the Value field, type the name of the section of the ProviderTypes file that will contain the data type information for the provider. For example, if you are connecting to an Oracle database, you might type Oracle in this field.
  15. Click OK. The attribute is changed.
  16. Save the configuration.
  17. Open the swsoc.ini file and check the data type mappings between the ADO data types and the data types used by the backend ODBC driver.
  18. NOTE: If the data type mappings for the backend ODBC driver are not in the swsoc.ini file, you must add them manually.

  19. Modify the file as needed, then save the swsoc.ini file.